Skip to content

fix api key generation issue#114

Open
ankitkatewa wants to merge 1 commit intoAgent-Hellboy:mainfrom
ankitkatewa:fix_api_key_issue
Open

fix api key generation issue#114
ankitkatewa wants to merge 1 commit intoAgent-Hellboy:mainfrom
ankitkatewa:fix_api_key_issue

Conversation

@ankitkatewa
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a UserID field to the principal struct to explicitly separate internal system user IDs from external OIDC subjects. This change is propagated through the authentication layers, including OIDC JWT, platform JWT, and API key authentication, ensuring that internal identifiers are consistently used for resource management and database lookups. Corresponding tests were added to verify the preference for the internal UserID and its correct handling in API endpoints. I have no feedback to provide.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 1, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 51.64%. Comparing base (92178fe) to head (794d2ef).
⚠️ Report is 20 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #114      +/-   ##
==========================================
- Coverage   57.15%   51.64%   -5.52%     
==========================================
  Files          59       72      +13     
  Lines       10448    10679     +231     
==========================================
- Hits         5972     5515     -457     
- Misses       3905     4580     +675     
- Partials      571      584      +13     
Flag Coverage Δ
pre-merge 51.64% <ø> (-5.52%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 35 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Agent-Hellboy
Copy link
Copy Markdown
Owner

Agent-Hellboy commented May 1, 2026

Hi @ankitkatewa rebase on main and follow https://docs.mcpruntime.org/getting-started/#3-contributor-test-mode-cluster to test this out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants